home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / exec / errors.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  816b  |  24 lines

  1. #ifndef    EXEC_ERRORS_H
  2. #define    EXEC_ERRORS_H
  3. /*
  4. **    $Filename: exec/errors.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 36.6 $
  7. **    $Date: 90/05/27 $
  8. **
  9. **    Standard Device IO Errors (returned in io_Error)
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #define IOERR_OPENFAIL     (-1) /* device/unit failed to open */
  16. #define IOERR_ABORTED     (-2) /* request terminated early [after AbortIO()] */
  17. #define IOERR_NOCMD     (-3) /* command not supported by device */
  18. #define IOERR_BADLENGTH     (-4) /* not a valid length (usually IO_LENGTH) */
  19. #define IOERR_BADADDRESS (-5) /* invalid address (misaligned or bad range) */
  20. #define IOERR_UNITBUSY     (-6) /* device opens ok, but requested unit is busy */
  21. #define IOERR_SELFTEST     (-7) /* hardware failed self-test */
  22.  
  23. #endif    /* EXEC_ERRORS_H */
  24.